import BasicInfo from './mycomps/basicInfo/basicInfo'; // 基本信息
import LeverageTrend from './mycomps/basicInfo/leverageTrend'; // 杠杆率趋势
import IntervalReturn from './mycomps/yieldPerformance/intervalReturn'; // 区间收益率
import YieldTrend from './mycomps/yieldPerformance/yieldTrend'; // 收益率趋势
import YieldTrend2 from './mycomps/yieldPerformance/yieldTrend2'; // 收益率趋势2
import NetValueTrend from './mycomps/netValueAnalysis/netValueTrend'; // 净值趋势
import ShareTrend from './mycomps/netValueAnalysis/shareTrend'; // 份额趋势
import Timeline from './mycomps/netValueAnalysis/memorabiliaTimeline'; // 大事记时间线
import AssetTypeRatio from './mycomps/assetAllocation/assetTypeRatio'; // 资产类别占比
import RatioChangeTrend from './mycomps/assetAllocation/ratioChangeTrend'; // 占比变动趋势
import TopTenHold from './mycomps/assetAllocation/topTenHold'; // 前10大重仓
import IntervalProitAndLoss from './mycomps/profitAndLossAnalysis/intervalProitAndLoss'; // 区间盈亏
import AssetProitAndLoss from './mycomps/profitAndLossAnalysis/assetProitAndLoss'; // 资产类别盈亏
import TradeStatistics from './mycomps/tradeAnalysis/tradeStatistics'; // 交易统计
import RiskChange from './mycomps/riskAnalysis/riskChange'; // 风险变动
import BasicInfo1 from '../../performanceAnalysisReport/mycomps/basicInfo'; // 基础信息2
import MyCoverC from './mycomps/myCover'; // 封面
// 组合因子暴露度
import CombinationExposure from '../../workStation/Barra/combinatorialAnalysis/mycomps/exposureAnalysis/combinationExposure';
// 个股因子暴露度
import IndividualExposure from '../../workStation/Barra/combinatorialAnalysis/mycomps/exposureAnalysis/individualExposure';
// 组合收益分析
import PortfolioAnalysis from '../../workStation/Barra/combinatorialAnalysis/mycomps/incomeAnalysis/portfolioAnalysis';
// 因子收益贡献
import FactorInfo from '../../workStation/Barra/combinatorialAnalysis/mycomps/incomeAnalysis/factorInfo';
// 个股收益贡献分析
import StocksAnalysis from '../../workStation/Barra/combinatorialAnalysis/mycomps/incomeAnalysis/stocksAnalysis';
import BlankPageC from './mycomps/blankPage'; // 空白页面
// 组合风险分解
import PortfolioRisk from '../../workStation/Barra/combinatorialAnalysis/mycomps/riskAnalysis/portfolioRisk';
// 因子风险贡献
import FactorRiskContribution from '../../workStation/Barra/combinatorialAnalysis/mycomps/riskAnalysis/factorRisk';

export default {
  main: [
    {
      key: '0000',
      component: [(props) => <MyCoverC {...props} />],
    },
    // {
    //   key: '1000',
    //   component: [(props) => <BasicInfo {...props} />],
    // },
    {
      key: '1001',
      // component: [(props) => <BasicInfo1 {...props} />],
      component: [(props) => <BasicInfo {...props} />],
    },
    {
      key: '1002',
      component: [(props) => <LeverageTrend {...props} />],
    },
    {
      key: '2001',
      component: [(props) => <IntervalReturn {...props} />],
    },
    {
      key: '2002',
      component: [(props) => <YieldTrend {...props} />],
    },
    {
      key: '2003',
      component: [(props) => <YieldTrend2 {...props} />],
    },
    {
      key: '3001',
      component: [(props) => <NetValueTrend {...props} />],
    },
    {
      key: '3002',
      component: [(props) => <ShareTrend {...props} />],
    },
    {
      key: '3003',
      component: [(props) => <Timeline {...props} />],
    },
    {
      key: '4001',
      component: [(props) => <AssetTypeRatio {...props} />],
    },
    {
      key: '4002',
      component: [(props) => <RatioChangeTrend {...props} />],
    },
    {
      key: '4003',
      component: [(props) => <TopTenHold {...props} />],
    },
    {
      key: '5001',
      component: [(props) => <IntervalProitAndLoss {...props} />],
    },
    {
      key: '5002',
      component: [(props) => <AssetProitAndLoss {...props} />],
    },
    {
      key: '6001',
      component: [(props) => <TradeStatistics {...props} />],
    },
    {
      key: '7001',
      component: [(props) => <RiskChange {...props} />],
    },
  ],
  barra: [
    {
      key: '8001',
      component: [(props) => <CombinationExposure {...props} />],
    },
    {
      key: '8002',
      component: [(props) => <IndividualExposure {...props} />],
    },
    {
      key: '9001',
      component: [(props) => <PortfolioAnalysis {...props} />],
    },
    {
      key: '9002',
      component: [(props) => <FactorInfo {...props} />],
    },
    {
      key: '9003',
      // component:[props=><BlankPageC {...props}/>]
      component: [(props) => <StocksAnalysis {...props} />],
    },
    {
      key: '10001',
      component: [(props) => <PortfolioRisk {...props} />],
    },
    {
      key: '10002',
      component: [(props) => <FactorRiskContribution {...props} />],
    },
    {
      key: '10003',
      component: [(props) => <BlankPageC {...props} />],
    },
  ],
};
